Tootsville::Infinity-Play-With

Function

Infinity-Play-With names a function, with lambda list (D U R):

Choose a Toot as your active CHARACTER in the game.

Lisp PLAY-WITH = JSON playWith

CHARACTER must be the name of a Toot character owned by *USER*.

Usage

{ c: "playWith", d: { character: "a-Toot-name" } }

Status 200 OK

{ from: "playWith",
  status: true }

This calls TOOTSVILLE PLAY-WITH-TOOT upon success, q.v.

Status 403 Not Your Toot

*USER* must be the owner of the Toot named CHARACTER, or you will be denied permission.

{ from: "playWith", status: false, error: "Not your Toot" }

Status 404 No Such Toot

The Toot named CHARACTER must exist.

{ from: "playWith", status: false, error: "No such Toot" }

File

Defined in file src/infinity/new-commands-20.lisp.